(("u">typeof self?self:this).webpackJsonp__wix_editor_elements_library=("u">typeof self?self:this).webpackJsonp__wix_editor_elements_library||[]).push([[87162],{35294(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){void 0===t&&(t={});var i={},l=!!(t.type&&o[t.type]);for(var c in t){var u=t[c];if((0,s.isCustomAttribute)(c)){i[c]=u;continue}var d=c.toLowerCase(),m=h(d);if(m){var f=(0,s.getPropertyInfo)(m);switch(r.includes(m)&&a.includes(e)&&!l&&(m=h("default"+d)),i[m]=u,f&&f.type){case s.BOOLEAN:i[m]=!0;break;case s.OVERLOADED_BOOLEAN:""===u&&(i[m]=!0)}continue}n.PRESERVE_CUSTOM_ATTRIBUTES&&(i[c]=u)}return(0,n.setStyleProp)(t.style,i),i};var s=i(80004),n=i(23628),r=["checked","value"],a=["input","select","textarea"],o={reset:!0,submit:!0};function h(t){return s.possibleStandardNames[t]}},83434(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e,i){void 0===i&&(i={});for(var s=[],n="function"==typeof i.replace,h=i.transform||a.returnFirstArg,l=i.library||o,c=l.cloneElement,u=l.createElement,d=l.isValidElement,m=e.length,f=0;f1&&(b=c(b,{key:b.key||f})),s.push(h(b,g,f));continue}}if("text"===g.type){var x=!g.data.trim().length;if(x&&g.parent&&!(0,a.canTextBeChildOfNode)(g.parent)||i.trim&&x)continue;s.push(h(g.data,g,f));continue}var S={};(p=g,a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===p.type&&(0,a.isCustomComponent)(p.name,p.attribs))?((0,a.setStyleProp)(g.attribs.style,g.attribs),S=g.attribs):g.attribs&&(S=(0,r.default)(g.attribs,g.name));var y=void 0;switch(g.type){case"script":case"style":g.children[0]&&(S.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?S.defaultValue=g.children[0].data:g.children&&g.children.length&&(y=t(g.children,i));break;default:continue}m>1&&(S.key=f),s.push(h(u(g.name,S,y),g,f))}return 1===s.length?s[0]:s};var n=i(87006),r=s(i(35294)),a=i(23628),o={cloneElement:n.cloneElement,createElement:n.createElement,isValidElement:n.isValidElement}},23628(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=function(t,e){return t.includes("-")?!a.has(t):!!(e&&"string"==typeof e.is)},e.setStyleProp=function(t,e){if("string"==typeof t){if(!t.trim()){e.style={};return}try{e.style=(0,r.default)(t,o)}catch(t){e.style={}}}};var n=i(87006),r=s(i(37783)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),o={reactCompat:!0};e.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),e.canTextBeChildOfNode=function(t){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)},e.returnFirstArg=function(t){return t}},20783(t){"use strict";var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,s=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,h=/^\s+|\s+$/g;function l(t){return t?t.replace(h,""):""}t.exports=function(t,h){if("string"!=typeof t)throw TypeError("First argument must be a string");if(!t)return[];h=h||{};var c=1,u=1;function d(t){var e=t.match(i);e&&(c+=e.length);var s=t.lastIndexOf("\n");u=~s?t.length-s:u+t.length}function m(){var t={line:c,column:u};return function(e){return e.position=new f(t),g(s),e}}function f(t){this.start=t,this.end={line:c,column:u},this.source=h.source}function p(e){var i=Error(h.source+":"+c+":"+u+": "+e);if(i.reason=e,i.filename=h.source,i.line=c,i.column=u,i.source=t,h.silent);else throw i}function g(e){var i=e.exec(t);if(i){var s=i[0];return d(s),t=t.slice(s.length),i}}function b(t){var e;for(t=t||[];e=x();)!1!==e&&t.push(e);return t}function x(){var e=m();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var i=2;""!=t.charAt(i)&&("*"!=t.charAt(i)||"/"!=t.charAt(i+1));)++i;if(i+=2,""===t.charAt(i-1))return p("End of comment missing");var s=t.slice(2,i-2);return u+=2,d(s),t=t.slice(i),u+=2,e({type:"comment",comment:s})}}f.prototype.content=t,g(s);var S,y=[];for(b(y);S=function(){var t=m(),i=g(n);if(i){if(x(),!g(r))return p("property missing ':'");var s=g(a),h=t({type:"declaration",property:l(i[0].replace(e,"")),value:s?l(s[0].replace(e,"")):""});return g(o),h}}();)!1!==S&&(y.push(S),b(y));return y}},80004(t,e,i){"use strict";function s(t,e,i,s,n,r,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=s,this.attributeNamespace=n,this.mustUseProperty=i,this.propertyName=t,this.type=e,this.sanitizeURL=r,this.removeEmptyString=a}let n={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(t=>{n[t]=new s(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([t,e])=>{n[t]=new s(t,1,!1,e,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(t=>{n[t]=new s(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(t=>{n[t]=new s(t,2,!1,t,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(t=>{n[t]=new s(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(t=>{n[t]=new s(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(t=>{n[t]=new s(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(t=>{n[t]=new s(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(t=>{n[t]=new s(t,5,!1,t.toLowerCase(),null,!1,!1)});let r=/[\-\:]([a-z])/g,a=t=>t[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(t=>{let e=t.replace(r,a);n[e]=new s(e,1,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(t=>{let e=t.replace(r,a);n[e]=new s(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(t=>{let e=t.replace(r,a);n[e]=new s(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(t=>{n[t]=new s(t,1,!1,t.toLowerCase(),null,!1,!1)}),n.xlinkHref=new s("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(t=>{n[t]=new s(t,1,!1,t.toLowerCase(),null,!0,!0)});let{CAMELCASE:o,SAME:h,possibleStandardNames:l}=i(37865),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),u=Object.keys(l).reduce((t,e)=>{let i=l[e];return i===h?t[e]=e:i===o?t[e.toLowerCase()]=e:t[e]=i,t},{});e.BOOLEAN=3,e.BOOLEANISH_STRING=2,e.NUMERIC=5,e.OVERLOADED_BOOLEAN=4,e.POSITIVE_NUMERIC=6,e.RESERVED=0,e.STRING=1,e.getPropertyInfo=function(t){return n.hasOwnProperty(t)?n[t]:null},e.isCustomAttribute=c,e.possibleStandardNames=u},37865(t,e){e.SAME=0,e.CAMELCASE=1,e.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},37783(t,e,i){"use strict";var s=(this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(i(91551)),n=i(3175);function r(t,e){var i={};return t&&"string"==typeof t&&(0,s.default)(t,function(t,s){t&&s&&(i[(0,n.camelCase)(t,e)]=s)}),i}r.default=r,t.exports=r},3175(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,s=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(t,e){return e.toUpperCase()},h=function(t,e){return"".concat(e,"-")};e.camelCase=function(t,e){var l;return(void 0===e&&(e={}),!(l=t)||n.test(l)||i.test(l))?t:(t=t.toLowerCase(),(t=e.reactCompat?t.replace(a,h):t.replace(r,h)).replace(s,o))}},91551(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){let i=null;if(!t||"string"!=typeof t)return i;let s=(0,n.default)(t),r="function"==typeof e;return s.forEach(t=>{if("declaration"!==t.type)return;let{property:s,value:n}=t;r?e(s,n,t):n&&((i=i||{})[s]=n)}),i};let n=s(i(20783))},36759(t,e){"use strict";e.q=void 0,e.q=new Uint16Array(0)},39228(t,e,i){"use strict";var s,n;function r(t){return t.type===s.Tag||t.type===s.Script||t.type===s.Style}(n=s||(s={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",s.Root,s.Text,s.Directive,s.Comment,s.Script,s.Style,s.Tag,s.CDATA,s.Doctype,i.d(e,{RJ:()=>s,dz:()=>r})},47288(t,e,i){"use strict";var s=i(39228),n=i(46438);let r={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class a{constructor(t,e,i){this.dom=[],this.root=new n.yo(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(i=e,e=r),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:r,this.elementCB=null!=i?i:null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new n.yo(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;let t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,e){let i=this.options.xmlMode?s.RJ.Tag:void 0,r=new n.Hg(t,e,void 0,i);this.addNode(r),this.tagStack.push(r)}ontext(t){let{lastNode:e}=this;if(e&&e.type===s.RJ.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{let e=new n.EY(t);this.addNode(e),this.lastNode=e}}oncomment(t){if(this.lastNode&&this.lastNode.type===s.RJ.Comment){this.lastNode.data+=t;return}let e=new n.Mw(t);this.addNode(e),this.lastNode=e}oncommentend(){this.lastNode=null}oncdatastart(){let t=new n.EY(""),e=new n.KB([t]);this.addNode(e),t.parent=e,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,e){let i=new n.Cd(t,e);this.addNode(i)}handleCallback(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t}addNode(t){let e=this.tagStack[this.tagStack.length-1],i=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),i&&(t.prev=i,i.next=t),t.parent=e,this.lastNode=null}}i.d(e,{DV:()=>a})},46438(t,e,i){"use strict";var s=i(39228);class n{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return m(this,t)}}class r extends n{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class a extends r{constructor(){super(...arguments),this.type=s.RJ.Text}get nodeType(){return 3}}class o extends r{constructor(){super(...arguments),this.type=s.RJ.Comment}get nodeType(){return 8}}class h extends r{constructor(t,e){super(e),this.name=t,this.type=s.RJ.Directive}get nodeType(){return 1}}class l extends n{constructor(t){super(),this.children=t}get firstChild(){var t;return null!=(t=this.children[0])?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class c extends l{constructor(){super(...arguments),this.type=s.RJ.CDATA}get nodeType(){return 4}}class u extends l{constructor(){super(...arguments),this.type=s.RJ.Root}get nodeType(){return 9}}class d extends l{constructor(t,e,i=[],n="script"===t?s.RJ.Script:"style"===t?s.RJ.Style:s.RJ.Tag){super(i),this.name=t,this.attribs=e,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var e,i;return{name:t,value:this.attribs[t],namespace:null==(e=this["x-attribsNamespace"])?void 0:e[t],prefix:null==(i=this["x-attribsPrefix"])?void 0:i[t]}})}}function m(t,e=!1){let i;if(t.type===s.RJ.Text)i=new a(t.data);else if(t.type===s.RJ.Comment)i=new o(t.data);else if((0,s.dz)(t)){let s=e?f(t.children):[],n=new d(t.name,{...t.attribs},s);s.forEach(t=>t.parent=n),null!=t.namespace&&(n.namespace=t.namespace),t["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...t["x-attribsPrefix"]}),i=n}else if(t.type===s.RJ.CDATA){let s=e?f(t.children):[],n=new c(s);s.forEach(t=>t.parent=n),i=n}else if(t.type===s.RJ.Root){let s=e?f(t.children):[],n=new u(s);s.forEach(t=>t.parent=n),t["x-mode"]&&(n["x-mode"]=t["x-mode"]),i=n}else if(t.type===s.RJ.Directive){let e=new h(t.name,t.data);null!=t["x-name"]&&(e["x-name"]=t["x-name"],e["x-publicId"]=t["x-publicId"],e["x-systemId"]=t["x-systemId"]),i=e}else throw Error(`Not implemented yet: ${t.type}`);return i.startIndex=t.startIndex,i.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(i.sourceCodeLocation=t.sourceCodeLocation),i}function f(t){let e=t.map(t=>m(t,!0));for(let t=1;th,EY:()=>a,Hg:()=>d,KB:()=>c,Mw:()=>o,yo:()=>u})},29476(t,e,i){"use strict";var s=i(83434);let n=s.default||s;i.d(e,{},{A:n})},74626(t,e,i){"use strict";var s=i(59840),n=i(69976);let r=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),o=new Set(["thead","tbody"]),h=new Set(["dd","dt"]),l=new Set(["rt","rp"]),c=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",a],["h1",a],["h2",a],["h3",a],["h4",a],["h5",a],["h6",a],["select",r],["input",r],["output",r],["button",r],["datalist",r],["textarea",r],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",h],["dt",h],["address",a],["article",a],["aside",a],["blockquote",a],["details",a],["div",a],["dl",a],["fieldset",a],["figcaption",a],["figure",a],["footer",a],["form",a],["header",a],["hr",a],["main",a],["nav",a],["ol",a],["pre",a],["section",a],["table",a],["ul",a],["rt",l],["rp",l],["tbody",o],["tfoot",o]]),u=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),d=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),f=/\s|\//;class p{constructor(t,e={}){var i,n,r,a,o,h;this.options=e,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=t?t:{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!=(i=e.lowerCaseTags)?i:this.htmlMode,this.lowerCaseAttributeNames=null!=(n=e.lowerCaseAttributeNames)?n:this.htmlMode,this.recognizeSelfClosing=null!=(r=e.recognizeSelfClosing)?r:!this.htmlMode,this.tokenizer=new(null!=(a=e.Tokenizer)?a:s.A)(this.options,this),this.foreignContext=[!this.htmlMode],null==(h=(o=this.cbs).onparserinit)||h.call(o,this)}ontext(t,e){var i,s;let n=this.getSlice(t,e);this.endIndex=e-1,null==(s=(i=this.cbs).ontext)||s.call(i,n),this.startIndex=e}ontextentity(t,e){var i,s;this.endIndex=e-1,null==(s=(i=this.cbs).ontext)||s.call(i,(0,n.MK)(t)),this.startIndex=e}isVoidElement(t){return this.htmlMode&&u.has(t)}onopentagname(t,e){this.endIndex=e;let i=this.getSlice(t,e);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)}emitOpenTag(t){var e,i,s,n;this.openTagStart=this.startIndex,this.tagname=t;let r=this.htmlMode&&c.get(t);if(r)for(;this.stack.length>0&&r.has(this.stack[0]);){let t=this.stack.shift();null==(i=(e=this.cbs).onclosetag)||i.call(e,t,!0)}!this.isVoidElement(t)&&(this.stack.unshift(t),this.htmlMode&&(d.has(t)?this.foreignContext.unshift(!0):m.has(t)&&this.foreignContext.unshift(!1))),null==(n=(s=this.cbs).onopentagname)||n.call(s,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var e,i;this.startIndex=this.openTagStart,this.attribs&&(null==(i=(e=this.cbs).onopentag)||i.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,e){var i,s,n,r,a,o,h,l;this.endIndex=e;let c=this.getSlice(t,e);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),this.htmlMode&&(d.has(c)||m.has(c))&&this.foreignContext.shift(),this.isVoidElement(c))this.htmlMode&&"br"===c&&(null==(r=(n=this.cbs).onopentagname)||r.call(n,"br"),null==(o=(a=this.cbs).onopentag)||o.call(a,"br",{},!0),null==(l=(h=this.cbs).onclosetag)||l.call(h,"br",!1));else{let t=this.stack.indexOf(c);if(-1!==t)for(let e=0;e<=t;e++){let n=this.stack.shift();null==(s=(i=this.cbs).onclosetag)||s.call(i,n,e!==t)}else this.htmlMode&&"p"===c&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var e,i;let s=this.tagname;this.endOpenTag(t),this.stack[0]===s&&(null==(i=(e=this.cbs).onclosetag)||i.call(e,s,!t),this.stack.shift())}onattribname(t,e){this.startIndex=t;let i=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(t,e){this.attribvalue+=this.getSlice(t,e)}onattribentity(t){this.attribvalue+=(0,n.MK)(t)}onattribend(t,e){var i,n;this.endIndex=e,null==(n=(i=this.cbs).onattribute)||n.call(i,this.attribname,this.attribvalue,t===s.X.Double?'"':t===s.X.Single?"'":t===s.X.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){let e=t.search(f),i=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(t,e){this.endIndex=e;let i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){let t=this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${t}`,`!${i}`)}this.startIndex=e+1}onprocessinginstruction(t,e){this.endIndex=e;let i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){let t=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${t}`,`?${i}`)}this.startIndex=e+1}oncomment(t,e,i){var s,n,r,a;this.endIndex=e,null==(n=(s=this.cbs).oncomment)||n.call(s,this.getSlice(t,e-i)),null==(a=(r=this.cbs).oncommentend)||a.call(r),this.startIndex=e+1}oncdata(t,e,i){var s,n,r,a,o,h,l,c,u,d;this.endIndex=e;let m=this.getSlice(t,e-i);!this.htmlMode||this.options.recognizeCDATA?(null==(n=(s=this.cbs).oncdatastart)||n.call(s),null==(a=(r=this.cbs).ontext)||a.call(r,m),null==(h=(o=this.cbs).oncdataend)||h.call(o)):(null==(c=(l=this.cbs).oncomment)||c.call(l,`[CDATA[${m}]]`),null==(d=(u=this.cbs).oncommentend)||d.call(u)),this.startIndex=e+1}onend(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let t=0;t=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);for(;e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,e-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var e,i;if(this.ended){null==(i=(e=this.cbs).onerror)||i.call(e,Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var e,i;if(this.ended){null==(i=(e=this.cbs).onerror)||i.call(e,Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndexp})},59840(t,e,i){"use strict";var s,n,r,a,o,h,l=i(69976);function c(t){return t===a.Space||t===a.NewLine||t===a.Tab||t===a.FormFeed||t===a.CarriageReturn}function u(t){return t===a.Slash||t===a.Gt||c(t)}(s=a||(a={}))[s.Tab=9]="Tab",s[s.NewLine=10]="NewLine",s[s.FormFeed=12]="FormFeed",s[s.CarriageReturn=13]="CarriageReturn",s[s.Space=32]="Space",s[s.ExclamationMark=33]="ExclamationMark",s[s.Number=35]="Number",s[s.Amp=38]="Amp",s[s.SingleQuote=39]="SingleQuote",s[s.DoubleQuote=34]="DoubleQuote",s[s.Dash=45]="Dash",s[s.Slash=47]="Slash",s[s.Zero=48]="Zero",s[s.Nine=57]="Nine",s[s.Semi=59]="Semi",s[s.Lt=60]="Lt",s[s.Eq=61]="Eq",s[s.Gt=62]="Gt",s[s.Questionmark=63]="Questionmark",s[s.UpperA=65]="UpperA",s[s.LowerA=97]="LowerA",s[s.UpperF=70]="UpperF",s[s.LowerF=102]="LowerF",s[s.UpperZ=90]="UpperZ",s[s.LowerZ=122]="LowerZ",s[s.LowerX=120]="LowerX",s[s.OpeningSquareBracket=91]="OpeningSquareBracket",(n=o||(o={}))[n.Text=1]="Text",n[n.BeforeTagName=2]="BeforeTagName",n[n.InTagName=3]="InTagName",n[n.InSelfClosingTag=4]="InSelfClosingTag",n[n.BeforeClosingTagName=5]="BeforeClosingTagName",n[n.InClosingTagName=6]="InClosingTagName",n[n.AfterClosingTagName=7]="AfterClosingTagName",n[n.BeforeAttributeName=8]="BeforeAttributeName",n[n.InAttributeName=9]="InAttributeName",n[n.AfterAttributeName=10]="AfterAttributeName",n[n.BeforeAttributeValue=11]="BeforeAttributeValue",n[n.InAttributeValueDq=12]="InAttributeValueDq",n[n.InAttributeValueSq=13]="InAttributeValueSq",n[n.InAttributeValueNq=14]="InAttributeValueNq",n[n.BeforeDeclaration=15]="BeforeDeclaration",n[n.InDeclaration=16]="InDeclaration",n[n.InProcessingInstruction=17]="InProcessingInstruction",n[n.BeforeComment=18]="BeforeComment",n[n.CDATASequence=19]="CDATASequence",n[n.InSpecialComment=20]="InSpecialComment",n[n.InCommentLike=21]="InCommentLike",n[n.BeforeSpecialS=22]="BeforeSpecialS",n[n.BeforeSpecialT=23]="BeforeSpecialT",n[n.SpecialStartSequence=24]="SpecialStartSequence",n[n.InSpecialTag=25]="InSpecialTag",n[n.InEntity=26]="InEntity",(r=h||(h={}))[r.NoValue=0]="NoValue",r[r.Unquoted=1]="Unquoted",r[r.Single=2]="Single",r[r.Double=3]="Double";let d={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class m{constructor({xmlMode:t=!1,decodeEntities:e=!0},i){this.cbs=i,this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=o.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=e,this.entityDecoder=new l.Wf(t?l.sr:l.qN,(t,e)=>this.emitCodePoint(t,e))}reset(){this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=o.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===a.Amp&&this.startEntity()}stateSpecialStartSequence(t){let e=this.sequenceIndex===this.currentSequence.length;if(e?u(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=o.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===a.Gt||c(t)){let e=this.index-this.currentSequence.length;if(this.sectionStart=a.LowerA&&t<=a.LowerZ||t>=a.UpperA&&t<=a.UpperZ}startSpecial(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=o.SpecialStartSequence}stateBeforeTagName(t){if(t===a.ExclamationMark)this.state=o.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===a.Questionmark)this.state=o.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){let e=32|t;this.sectionStart=this.index,this.xmlMode?this.state=o.InTagName:e===d.ScriptEnd[2]?this.state=o.BeforeSpecialS:e===d.TitleEnd[2]||e===d.XmpEnd[2]?this.state=o.BeforeSpecialT:this.state=o.InTagName}else t===a.Slash?this.state=o.BeforeClosingTagName:(this.state=o.Text,this.stateText(t))}stateInTagName(t){u(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){c(t)||(t===a.Gt?this.state=o.Text:(this.state=this.isTagStartChar(t)?o.InClosingTagName:o.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===a.Gt||c(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===a.Gt||this.fastForwardTo(a.Gt))&&(this.state=o.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===a.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=o.InSpecialTag,this.sequenceIndex=0):this.state=o.Text,this.sectionStart=this.index+1):t===a.Slash?this.state=o.InSelfClosingTag:c(t)||(this.state=o.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===a.Gt?(this.cbs.onselfclosingtag(this.index),this.state=o.Text,this.sectionStart=this.index+1,this.isSpecial=!1):c(t)||(this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===a.Eq||u(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=o.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===a.Eq?this.state=o.BeforeAttributeValue:t===a.Slash||t===a.Gt?(this.cbs.onattribend(h.NoValue,this.sectionStart),this.sectionStart=-1,this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(t)):c(t)||(this.cbs.onattribend(h.NoValue,this.sectionStart),this.state=o.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===a.DoubleQuote?(this.state=o.InAttributeValueDq,this.sectionStart=this.index+1):t===a.SingleQuote?(this.state=o.InAttributeValueSq,this.sectionStart=this.index+1):c(t)||(this.sectionStart=this.index,this.state=o.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,e){t===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===a.DoubleQuote?h.Double:h.Single,this.index+1),this.state=o.BeforeAttributeName):this.decodeEntities&&t===a.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,a.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,a.SingleQuote)}stateInAttributeValueNoQuotes(t){c(t)||t===a.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(h.Unquoted,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===a.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===a.OpeningSquareBracket?(this.state=o.CDATASequence,this.sequenceIndex=0):this.state=t===a.Dash?o.BeforeComment:o.InDeclaration}stateInDeclaration(t){(t===a.Gt||this.fastForwardTo(a.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===a.Gt||this.fastForwardTo(a.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===a.Dash?(this.state=o.InCommentLike,this.currentSequence=d.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=o.InDeclaration}stateInSpecialComment(t){(t===a.Gt||this.fastForwardTo(a.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=o.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){let e=32|t;e===d.ScriptEnd[3]?this.startSpecial(d.ScriptEnd,4):e===d.StyleEnd[3]?this.startSpecial(d.StyleEnd,4):(this.state=o.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){switch(32|t){case d.TitleEnd[3]:this.startSpecial(d.TitleEnd,4);break;case d.TextareaEnd[3]:this.startSpecial(d.TextareaEnd,4);break;case d.XmpEnd[3]:this.startSpecial(d.XmpEnd,4);break;default:this.state=o.InTagName,this.stateInTagName(t)}}startEntity(){this.baseState=this.state,this.state=o.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?l.FJ.Strict:this.baseState===o.Text||this.baseState===o.InSpecialTag?l.FJ.Legacy:l.FJ.Attribute)}stateInEntity(){let t=this.index-this.offset,e=this.entityDecoder.write(this.buffer,t);if(e>=0)this.state=this.baseState,0===e&&(this.index-=1);else{if(t=t||(this.state===o.InCommentLike?this.currentSequence===d.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===o.InTagName||this.state===o.BeforeAttributeName||this.state===o.BeforeAttributeValue||this.state===o.AfterAttributeName||this.state===o.InAttributeName||this.state===o.InAttributeValueSq||this.state===o.InAttributeValueDq||this.state===o.InAttributeValueNq||this.state===o.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==o.Text&&this.baseState!==o.InSpecialTag?(this.sectionStartm,X:()=>h})},49293(t,e,i){"use strict";var s=i(74626),n=i(47288);function r(t,e){let i=new n.DV(void 0,e);return new s.i(i,e).end(t),i.root}i(59840),i(39228),i.d(e,{Tp:()=>r})},28068(t,e,i){"use strict";var s;let n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),r=null!=(s=String.fromCodePoint)?s:t=>{let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)};function a(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!=(e=n.get(t))?e:t}i.d(e,{y6:()=>a},{MK:r})},69976(t,e,i){"use strict";var s,n,r,a,o,h,l=i(28068),c=i(24532),u=i(36759),d=i(86195);function m(t){return t>=a.ZERO&&t<=a.NINE}(s=a||(a={}))[s.NUM=35]="NUM",s[s.SEMI=59]="SEMI",s[s.EQUALS=61]="EQUALS",s[s.ZERO=48]="ZERO",s[s.NINE=57]="NINE",s[s.LOWER_A=97]="LOWER_A",s[s.LOWER_F=102]="LOWER_F",s[s.LOWER_X=120]="LOWER_X",s[s.LOWER_Z=122]="LOWER_Z",s[s.UPPER_A=65]="UPPER_A",s[s.UPPER_F=70]="UPPER_F",s[s.UPPER_Z=90]="UPPER_Z",(n=o||(o={}))[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity",(r=h||(h={}))[r.Legacy=0]="Legacy",r[r.Strict=1]="Strict",r[r.Attribute=2]="Attribute";class f{constructor(t,e,i){this.decodeTree=t,this.emitCodePoint=e,this.errors=i,this.state=o.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=h.Strict,this.runConsumed=0}startEntity(t){this.decodeMode=t,this.state=o.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(t,e){switch(this.state){case o.EntityStart:if(t.charCodeAt(e)===a.NUM)return this.state=o.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1);return this.state=o.NamedEntity,this.stateNamedEntity(t,e);case o.NumericStart:return this.stateNumericStart(t,e);case o.NumericDecimal:return this.stateNumericDecimal(t,e);case o.NumericHex:return this.stateNumericHex(t,e);case o.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===a.LOWER_X?(this.state=o.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=o.NumericDecimal,this.stateNumericDecimal(t,e))}stateNumericHex(t,e){for(;e=a.UPPER_A)||!(i<=a.UPPER_F))&&(!(i>=a.LOWER_A)||!(i<=a.LOWER_F)))return this.emitNumericEntity(s,3);{let t=s<=a.NINE?s-a.ZERO:(32|s)-a.LOWER_A+10;this.result=16*this.result+t,this.consumed++,e++}}return -1}stateNumericDecimal(t,e){for(;e>14;for(;e>7;if(0===this.runConsumed){let i=s&c.x.JUMP_TABLE;if(t.charCodeAt(e)!==i)return 0===this.result?0:this.emitNotTerminatedNamedEntity();e++,this.excess++,this.runConsumed++}for(;this.runConsumed=t.length)return -1;let s=this.runConsumed-1,n=i[this.treeIndex+1+(s>>1)],r=s%2==0?255&n:n>>8&255;if(t.charCodeAt(e)!==r)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();e++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(r>>1),n=((s=i[this.treeIndex])&c.x.VALUE_LENGTH)>>14}if(e>=t.length)break;let r=t.charCodeAt(e);if(r===a.SEMI&&0!==n&&(s&c.x.FLAG13)!=0)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);if(this.treeIndex=function(t,e,i,s){let n=(e&c.x.BRANCH_LENGTH)>>7,r=e&c.x.JUMP_TABLE;if(0===n)return 0!==r&&s===r?i:-1;if(r){let e=s-r;return e<0||e>=n?-1:t[i+e]-1}let a=n+1>>1,o=0,h=n-1;for(;o<=h;){let e=o+h>>>1,n=t[i+(e>>1)]>>(1&e)*8&255;if(ns))return t[i+a+e];h=e-1}}return -1}(i,s,this.treeIndex+Math.max(1,n),r),this.treeIndex<0)return 0===this.result||this.decodeMode===h.Attribute&&(0===n||function(t){var e;return t===a.EQUALS||(e=t)>=a.UPPER_A&&e<=a.UPPER_Z||e>=a.LOWER_A&&e<=a.LOWER_Z||m(e)}(r))?0:this.emitNotTerminatedNamedEntity();if(0!=(n=((s=i[this.treeIndex])&c.x.VALUE_LENGTH)>>14)){if(r===a.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==h.Strict&&(s&c.x.FLAG13)==0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}e++,this.excess++}return -1}emitNotTerminatedNamedEntity(){var t;let{result:e,decodeTree:i}=this,s=(i[e]&c.x.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,s,this.consumed),null==(t=this.errors)||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,i){let{decodeTree:s}=this;return this.emitCodePoint(1===e?s[t]&~(c.x.VALUE_LENGTH|c.x.FLAG13):s[t+1],i),3===e&&this.emitCodePoint(s[t+2],i),i}end(){var t;switch(this.state){case o.NamedEntity:return 0!==this.result&&(this.decodeMode!==h.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case o.NumericDecimal:return this.emitNumericEntity(0,2);case o.NumericHex:return this.emitNumericEntity(0,3);case o.NumericStart:return null==(t=this.errors)||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case o.EntityStart:return 0}}}i.d(e,{FJ:()=>h,MK:()=>l.MK,Wf:()=>f,qN:()=>u.q,sr:()=>d.s})},86195(t,e,i){"use strict";let s=(0,i(70308).y)("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");i.d(e,{},{s:s})},24532(t,e,i){"use strict";var s,n;(n=s||(s={}))[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.FLAG13=8192]="FLAG13",n[n.BRANCH_LENGTH=8064]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE",i.d(e,{x:()=>s})},70308(t,e,i){"use strict";function s(t){let e="function"==typeof atob?atob(t):"function"==typeof Buffer.from?Buffer.from(t,"base64").toString("binary"):new Buffer(t,"base64").toString("binary"),i=-2&e.length,s=new Uint16Array(i/2);for(let t=0,n=0;ts})}}]);